package forms

//UserID string  `gorm:"column:user_id;type:varchar(20);not null"`
//Price  float32 `gorm:"type:float(10,2);not null;column:price"`
//Status int32   `gorm:"type:tinyint;not null;column:status"`
//Remark string  `gorm:"type:varchar(100);not null;column:remark"`
//Foods  []*Food `gorm:"many2many:menu_order"`

type OrderCreate struct {
	GoodsID           string `form:"goods_id" json:"goods_id" binding:"required"`
	DistributorNumber string `form:"distributor_number" json:"distributor_number" binding:"required"`
	Name              string `form:"name" json:"name" binding:"required,max=50"`
	Email             string `form:"email" json:"email" binding:"required,email"`
	Remark            string `form:"remark" json:"remark" binding:"required,max=5000"`
}
